package com.biz.ssm.service;


import com.biz.ssm.base.BaseService;
import com.biz.ssm.domain.AdminRole;

import java.util.List;


/**
 * AdminRoleService
 **/

public interface AdminRoleService extends BaseService<AdminRole, Long> {
    /**
     * 根据角色查找角色
     *
     * @param roleId
     * @return
     */
    List<AdminRole> findListByRole(Long roleId);

    /**
     * 根据用户查找角色
     *
     * @param adminId
     * @return
     */
    List<AdminRole> findListByAdmin(Long adminId);
}
